#include <iostream>

using namespace std;

//void Swap(int& left, int& right)
//{
//	int temp = left;
//	left = right;
//	right = temp;
//}
//void Swap(double& left, double& right)
//{
//	double temp = left;
//	left = right;
//	right = temp;
//}
//void Swap(char& left, char& right)
//{
//	char temp = left;
//	left = right;
//	right = temp;
//}

template<class T>
void Swap(T& x1, T& x2)
{
	T tmp = x1;
	x1= x2;
	x2 = tmp;
}

int main()
{

	//Swap(a, b);
	//Swap(1.1, 5.5);
	//Swap('1', '5');
	return 0; 
}